.addChord {
  width: 100%;
  .warnings {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 30px;
  }
  .radios {
    width: 100%;
    .flex-row-end();
  }
  .flex-column-normal();
  .measures {
    width: 100%;
    .flex-row-stretch();
    justify-content: space-between;
    flex-wrap: wrap;

    .measure {
      width: calc(50% - 20px);
      border: 1px solid #eee;
      border-radius: 8px;
      box-sizing: border-box;
      padding: 15px;
      margin: 5px;
      .flex-row-center();
      flex-wrap: wrap;
      position: relative;
      .flag {
        position: absolute;
        top: 50%;
        left: 0;
        width: 30px;
        height: $width;
        transform: translate(-50%,-50%);
        border-radius: $width;
        background-color: white;
        border: 1px solid #ddd;
        box-sizing: border-box;
        color: #999;
        font-size: @font-size-mini;
        .flex-row-center();
        &.error {
          background-color: @error-color;
          color: white;
        }
      }
      .noteBox {
        padding: 3px;

        .note {
          width: 36px;
          height: 36px;
          border: 1px solid #dedede;
          border-radius: 3px;
          .flex-row-center();
          font-size: @font-size-mini;
          cursor: pointer;
          position: relative;

          .isTiedStart {
            position: absolute;
            bottom: -6px;
            right: -6px;
            font-size: 12px;
            background-color: white;
          }

          .isTiedStop {
            position: absolute;
            bottom: -6px;
            left: -6px;
            font-size: 12px;
            background-color: white;
          }

          .chordBox {
            position: absolute;
            top: -16px;
            left: 0;
            width: 100%;
            .flex-column-start;
            color: red;

            &>*:not(:first-child) {
              margin-top: 2px;
            }
          }
        }
      }
    }
  }
}